package com.watersys;

import com.watersys.checkwork.activity.CheckWorkMainActivity;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity implements OnClickListener {
	
	public Button button1;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        button1=(Button)findViewById(R.id.checkwork);
        
    }

   
	@Override
	public void onClick(View v) {
		Intent intent=null;
		switch (v.getId()) {
		case R.id.checkwork:
			intent=new Intent(MainActivity.this, CheckWorkMainActivity.class);
			startActivity(intent);
			break;

		default:
			break;
		}
		
	}
}
